#ifndef CONVOLUATEDIALOG_H
#define CONVOLUATEDIALOG_H

#include <QtGui/QDialog>
#include <QStandardItemModel>

namespace Ui {
    class ConvoluateDialog;
}

// This class is use when the user what to define a specifique filter
// this class able to create window that will able the user to indicated the
// filter (matrix), that the user what to do
class ConvoluateDialog : public QDialog {
    Q_OBJECT
    Q_DISABLE_COPY(ConvoluateDialog)
public:
    explicit ConvoluateDialog(QWidget *parent = 0);
    virtual ~ConvoluateDialog();
    int nbLigne;
    int nbColone;
    int** valeursTable;
protected:
    virtual void changeEvent(QEvent *e);

private:
    Ui::ConvoluateDialog* m_ui;
    QStandardItemModel* model;
private slots:
    void resizeTable();
    void validationConvolution();

};

#endif // CONVOLUATEDIALOG_H
